import Base from '@/services/base'

export default class service extends Base {
	constructor(param) {
		super(param);
	}
	
	/**
	 * 考试下拉列表
	 * api/report/examList
	 */
	async examList(param){
	     return await this.fly.get('/api/report/examList',param);
	}
	
	async studentExamData__rank(param){
		return await this.fly.get('/api/report/studentExamData__rank',param);
	}
	
	/**
	 * 考试下拉列表
	 * api/report/examList
	 */
	async examData_rank(param){
	     return await this.fly.get('/api/report/examData_rank',param);
	}
	
	/**
	 * 排行榜
	 * api/report/rank
	 */
	async rank(param){
	     return await this.fly.get('/api/report/rank',param);
	}
	
	/**
	 * 下拉届列表
	 * api/report/search
	 */
	async period(param){
	     return await this.fly.get('/api/report/period',param);
	}
	
	/**
	 * 评估报告-考试数据
	 * api/report/examData
	 */
	async examData(param){
	     return await this.fly.get('/api/report/examData',param);
	}
	
	/**
	 * 评估报告-考生数据
	 * api/report/studentData
	 */
	async studentData(param){
	     return await this.fly.post('/api/report/studentData',param);
	}
	
	/**
	 * 某班级学生列表
	 * api/report/studentData
	 */
	async studentList(param){
	     return await this.fly.post('/api/report/studentList',param);
	}
	
	/**
	 * 班级折叠列表
	 * api/report/classList
	 */
	async classList(param){
	     return await this.fly.get('/api/report/classList',param);
	}
	
	/**
	 * 学生搜索
	 * api/report/classList
	 */
	async studentSearch(param){
	     return await this.fly.post('/api/report/studentSearch',param);
	}
	
	/**
	 * 学生考试分析排行列表
	 */
	async examRank(param){
	     return await this.fly.post('/api/report/studentAnswerRank',param);
	}
	
	/**
	 * 学生分析折线图
	 */
	async lineData(param){
		return await this.fly.get('api/user/getProvinceRankByExam',param);
	}
}
